Total Complexity | 30 |
Dependencies | 9 |
Dependents | 1 |
Total lines | 266 |
Lines of code | 80 |
Logical lines of code | 48 |
Comment lines | 145 |
Methods | 9 |
Properties | 5 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
_is_product_valid_for_coupons_in_cart() | 57 | 6 | 17 | |
_get_coupon_objects_from_wc_discounts() | 60 | 6 | 13 | |
_get_applied_coupon_codes_from_wc_discounts() | 60 | 6 | 13 | |
append_product_to_discounted_items_list() | 65 | 4 | 8 | |
always_use_regular_price_for_coupon_discounted_products() | 66 | 3 | 9 | |
get_instance() | 70 | 2 | 6 | |
__construct() | 73 | 1 | 5 | |
set_wc_discounts_object() | 77 | 1 | 4 | |
run() | 71 | 1 | 5 |